home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1996-01-17 | 866 b | 29 lines |
- ' *************************************
- ' * *
- ' * Sam Bank Fixer V1.0 *
- ' * Written by Chris Hodges *
- ' * *
- ' *************************************
- '
- ' Removes the annoying click at the end of a sample when replaying the
- ' sample with Pt Sam Play.
- '
- ' This program will clear one word in each sample in the sample bank
- ' that causes the beep.
- Do
- F$=Fsel$("*.abk","","Select an AMOS Sample-Bank","")
- Exit If F$=""
- Load F$,5
- ST=Start(5)
- NUMSAM=Deek(ST)
- Extension_8_142A 5
- For A=1 To NUMSAM
- SAMAD=ST+Leek(ST+A*4-2)
- Print Extension_8_0EC8(A,2);": ";Peek$(SAMAD,8);"; Freq: "; Extension_8_0EC8(Deek(SAMAD+8),5);" Len: "+ Extension_8_0EC8(Leek(SAMAD+10),5)
- Doke SAMAD+14,0
- Extension_8_143C A
- Wait Key
- Next
- Save F$,5
- Erase 5
- Loop